﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms.Design;

namespace Marmat.Forms.Design
{
    public class DateTimePickerDesigner : System.Windows.Forms.Design.ControlDesigner
    {
        protected override void PostFilterProperties(IDictionary properties)
        {
            base.PostFilterProperties(properties);
            string[] collection = new[] { "ShowModalButton" };
            foreach (string name in collection)
                properties.Remove(name);
        }

        public override SelectionRules SelectionRules
        {
            get => SelectionRules.LeftSizeable | SelectionRules.RightSizeable | SelectionRules.Moveable | SelectionRules.Locked | SelectionRules.Visible;
        }
    }

}
